# Form implementation generated from reading ui file 'src/eric7/PipInterface/PipFileSelectionDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_PipFileSelectionDialog(object):
    def setupUi(self, PipFileSelectionDialog):
        PipFileSelectionDialog.setObjectName("PipFileSelectionDialog")
        PipFileSelectionDialog.resize(600, 242)
        PipFileSelectionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(PipFileSelectionDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.fileLabel = QtWidgets.QLabel(parent=PipFileSelectionDialog)
        self.fileLabel.setObjectName("fileLabel")
        self.verticalLayout.addWidget(self.fileLabel)
        self.filePicker = EricPathPicker(parent=PipFileSelectionDialog)
        self.filePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
        self.filePicker.setObjectName("filePicker")
        self.verticalLayout.addWidget(self.filePicker)
        self.dependenciesGroupBox = QtWidgets.QGroupBox(parent=PipFileSelectionDialog)
        self.dependenciesGroupBox.setObjectName("dependenciesGroupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.dependenciesGroupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.noDepsButton = QtWidgets.QRadioButton(parent=self.dependenciesGroupBox)
        self.noDepsButton.setChecked(True)
        self.noDepsButton.setObjectName("noDepsButton")
        self.gridLayout.addWidget(self.noDepsButton, 0, 0, 1, 2)
        self.allDepsButton = QtWidgets.QRadioButton(parent=self.dependenciesGroupBox)
        self.allDepsButton.setChecked(False)
        self.allDepsButton.setObjectName("allDepsButton")
        self.gridLayout.addWidget(self.allDepsButton, 1, 0, 1, 2)
        self.specificDepsButton = QtWidgets.QRadioButton(parent=self.dependenciesGroupBox)
        self.specificDepsButton.setObjectName("specificDepsButton")
        self.gridLayout.addWidget(self.specificDepsButton, 2, 0, 1, 1)
        self.specificDepsEdit = QtWidgets.QLineEdit(parent=self.dependenciesGroupBox)
        self.specificDepsEdit.setEnabled(False)
        self.specificDepsEdit.setObjectName("specificDepsEdit")
        self.gridLayout.addWidget(self.specificDepsEdit, 2, 1, 1, 1)
        self.verticalLayout.addWidget(self.dependenciesGroupBox)
        self.userCheckBox = QtWidgets.QCheckBox(parent=PipFileSelectionDialog)
        self.userCheckBox.setObjectName("userCheckBox")
        self.verticalLayout.addWidget(self.userCheckBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=PipFileSelectionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(PipFileSelectionDialog)
        self.buttonBox.accepted.connect(PipFileSelectionDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(PipFileSelectionDialog.reject) # type: ignore
        self.specificDepsButton.toggled['bool'].connect(self.specificDepsEdit.setEnabled) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(PipFileSelectionDialog)
        PipFileSelectionDialog.setTabOrder(self.filePicker, self.noDepsButton)
        PipFileSelectionDialog.setTabOrder(self.noDepsButton, self.allDepsButton)
        PipFileSelectionDialog.setTabOrder(self.allDepsButton, self.specificDepsButton)
        PipFileSelectionDialog.setTabOrder(self.specificDepsButton, self.specificDepsEdit)
        PipFileSelectionDialog.setTabOrder(self.specificDepsEdit, self.userCheckBox)

    def retranslateUi(self, PipFileSelectionDialog):
        _translate = QtCore.QCoreApplication.translate
        PipFileSelectionDialog.setWindowTitle(_translate("PipFileSelectionDialog", "Select File"))
        self.fileLabel.setText(_translate("PipFileSelectionDialog", "File Name:"))
        self.dependenciesGroupBox.setTitle(_translate("PipFileSelectionDialog", "Optional Dependencies"))
        self.noDepsButton.setToolTip(_translate("PipFileSelectionDialog", "Select to not install any optional dependencies."))
        self.noDepsButton.setText(_translate("PipFileSelectionDialog", "None"))
        self.allDepsButton.setToolTip(_translate("PipFileSelectionDialog", "Select to install all optional dependencies."))
        self.allDepsButton.setText(_translate("PipFileSelectionDialog", "Include All"))
        self.specificDepsButton.setToolTip(_translate("PipFileSelectionDialog", "Select to install only the specified optional dependencies."))
        self.specificDepsButton.setText(_translate("PipFileSelectionDialog", "Only Specific Ones:"))
        self.specificDepsEdit.setToolTip(_translate("PipFileSelectionDialog", "Enter the names of optional dependencies to be installed."))
        self.userCheckBox.setToolTip(_translate("PipFileSelectionDialog", "Select to install to the Python user install directory"))
        self.userCheckBox.setText(_translate("PipFileSelectionDialog", "Install into User Directory"))
from eric7.EricWidgets.EricPathPicker import EricPathPicker
